package com.lin.service.impl;


import com.lin.mapper.StatisticMapper;
import com.lin.service.StatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author 阿林
 */
@Service
public class StatisticServiceImpl implements StatisticService {
    @Autowired
    private StatisticMapper statisticMapper;


    @Override
    public void updateHits ( Integer articleId ) {
        statisticMapper.updateHits(articleId);
    }
}
